<template>
  <div class="cookiePolicy">
    <div class="cookiePolicy-header">
      <i style="font-size:18px;cursor: pointer;" @click="goback">&lt; </i>
      <h3>Cookie Policy</h3>
      <i></i>
    </div>
    <div class="cookiePolicy-page">
      <div class="cookiePolicy-content">
        <h2>Cookie Policy</h2>
        <p>This Cookie Policy explains how AI HUB ("we", "us", and "our") uses cookies and similar technologies to
          recognize you when you visit our application. It explains what these technologies are and why we use them, as
          well as your rights to control our use of them.</p>

        <p>In some cases we may use cookies to collect personal information, or that becomes personal information if we
          combine it with other information.</p>

        <h2>What are cookies?</h2>

        <p>Cookies are small data files that are placed on your device when you visit an app. Cookies are widely used by
          website and app owners in order to make their websites and apps work, or to work more efficiently, as well as
          to provide reporting information.</p>

        <p>Cookies set by the app owner (in this case, AI HUB) are called "first party cookies". Cookies set by parties
          other than the app owner are called "third party cookies". Third party cookies enable third party features or
          functionality to be provided on or through the app (e.g. advertising, interactive content and analytics). The
          parties that set these third party cookies can recognize your device both when it visits the app in question
          and also when it visits certain other websites.</p>

        <h2>Why do we use cookies?</h2>

        <p>We use first and third party cookies for several reasons. Some cookies are required for technical reasons in
          order for our app to operate, and we refer to these as "essential" or "strictly necessary" cookies. Other
          cookies also enable us to track and target the interests of our users to enhance the experience on our app.
          Third parties serve cookies through our app for advertising, analytics and other purposes.</p>

        <h2>Types of cookies we use</h2>

        <p>The specific types of first and third party cookies served through our app and the purposes they perform are
          described below:</p>

        <p>• Essential cookies: These cookies are strictly necessary to provide you with services available through our
          app and to use some of its features, such as access to secure areas.</p>

        <p>• Performance and functionality cookies: These cookies are used to enhance the performance and functionality
          of our app but are non-essential to their use. However, without these cookies, certain functionality may
          become unavailable.</p>

        <p>• Analytics and customization cookies: These cookies collect information that is used either in aggregate
          form to help us understand how our app is being used or how effective our marketing campaigns are, or to help
          us customize our app for you.</p>

        <p>• Advertising cookies: These cookies are used to make advertising messages more relevant to you. They perform
          functions like preventing the same ad from continuously reappearing, ensuring that ads are properly displayed
          for advertisers, and in some cases selecting advertisements that are based on your interests.</p>

        <h2>How can you control cookies?</h2>

        <p>You have the right to decide whether to accept or reject cookies. You can exercise your cookie rights by
          setting your preferences in the Device Settings of your mobile device.</p>

        <p>If you choose to reject cookies, you may still use our app though your access to some functionality and areas
          of our app may be restricted. You may also set your device to signal that you do not want your online activity
          tracked.</p>

        <p>The specific settings will depend on the device and operating system you are using. Most mobile devices
          provide options to disable tracking by advertisers or certain third-party analytics providers.</p>

        <h2>Do we update this policy?</h2>

        <p>We may update this Cookie Policy from time to time in order to reflect, for example, changes to the cookies
          we use or for other operational, legal or regulatory reasons. Please therefore re-visit this Cookie Policy
          regularly to stay informed about our use of cookies and related technologies.</p>

        <p>The date at the top of this Cookie Policy indicates when it was last updated.</p>

        <h2>Contact Us</h2>

        <p>If you have any questions about our use of cookies or other technologies, please contact us at
          mailto:<a>mixaylrekin@gmail.com</a></p>
      </div>
    </div>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
// defineProps({
//   msg: {
//     type: String,
//     required: true,
//   },
// })
const goback = () => {
  router.go(-1);
}
</script>

<style scoped>
.cookiePolicy {
  width: 100%;
  height: 100vh;
  background: oklch(21% .034 264.665);
}

.cookiePolicy-header {
  padding: 0 15px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
}

.cookiePolicy-page {
  background: oklch(21% .034 264.665);
  padding: 24px 16px;
  margin: auto;
}

.cookiePolicy-content {
  background-color: #1f2937;
  border-radius: 10px;
  padding: 10px 20px;
}

h2 {
  margin-bottom: 20px;
  color: #fff;
  font-weight: 700;
}

p {
  color: oklch(87.2% .01 258.338);
  margin-bottom: 16px;
}
</style>
